﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 服务项目
    /// </summary>
    public class EServiceItem
    {
        /// <summary>
        /// 标识
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 分类Id
        /// </summary>
        public Guid CategoryId { get; set; }

        /// <summary>
        /// 商家Id
        /// </summary>
        public Guid? BusinessId { get; set; }

        /// <summary>
        /// 商铺Id
        /// </summary>
        public Guid? StationId { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 拼音
        /// </summary>
        public string Pinyin { get; set; }

        /// <summary>
        /// 首字母
        /// </summary>
        public string Letter { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 默认排序号
        /// </summary>
        public int SortIndex { get; set; }

        /// <summary>
        /// 工时单价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; }

        /// <summary>
        /// 销售提成
        /// </summary>
        public decimal SalesCommission { get; set; }

        /// <summary>
        /// 销售提成类型
        /// </summary>
        public int SalesCommissionType { get; set; }

        /// <summary>
        /// 技师提成
        /// </summary>
        public decimal TechnicianCommission { get; set; }

        /// <summary>
        /// 技师提成类型
        /// </summary>
        public int TechnicianCommissionType { get; set; }

        public DateTime CreatedTime { get; set; }

        public string Creator { get; set; }
    }
}
